<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>Python打包及虚拟环境运行 | XY Blog</title><meta name="keywords" content="Python"><meta name="author" content="XY"><meta name="copyright" content="XY"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="Python打包">
<meta property="og:type" content="article">
<meta property="og:title" content="Python打包及虚拟环境运行">
<meta property="og:url" content="http://example.com/2022/09/06/python%E6%89%93%E5%8C%85/index.html">
<meta property="og:site_name" content="XY Blog">
<meta property="og:description" content="Python打包">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="http://example.com/img/python.jpeg">
<meta property="article:published_time" content="2022-09-06T02:54:00.000Z">
<meta property="article:modified_time" content="2023-03-29T15:27:34.194Z">
<meta property="article:author" content="XY">
<meta property="article:tag" content="Python">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="http://example.com/img/python.jpeg"><link rel="shortcut icon" href="/img/liuxing.jpg"><link rel="canonical" href="http://example.com/2022/09/06/python%E6%89%93%E5%8C%85/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: undefined,
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"简","msgToSimplifiedChinese":"簡"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isAnchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: 'Python打包及虚拟环境运行',
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2023-03-29 23:27:34'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          const now = new Date()
          const hour = now.getHours()
          const isNight = hour <= 6 || hour >= 18
          if (t === undefined) isNight ? activateDarkMode() : activateLightMode()
          else if (t === 'light') activateLightMode()
          else activateDarkMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 6.2.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/img/liuxing.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">9</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">5</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">1</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标籤</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="not-top-img" id="page-header"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">XY Blog</a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标籤</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav></header><main class="layout" id="content-inner"><div id="post"><div id="post-info"><h1 class="post-title">Python打包及虚拟环境运行</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2022-09-06T02:54:00.000Z" title="发表于 2022-09-06 10:54:00">2022-09-06</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2023-03-29T15:27:34.194Z" title="更新于 2023-03-29 23:27:34">2023-03-29</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/%E6%8A%80%E6%9C%AF/">技术</a></span></div><div class="meta-secondline"></div></div></div><article class="post-content" id="article-container"><h3 id="Python打包"><a href="#Python打包" class="headerlink" title="Python打包"></a>Python打包</h3><h4 id="什么叫打包？"><a href="#什么叫打包？" class="headerlink" title="什么叫打包？"></a>什么叫打包？</h4><p>众所周知，<code>.py</code>文件不能在没有配置Python环境的电脑上运行。如果我们想让我们的<code>.py</code>文件或者python项目在别人的电脑上运行，但是ta又没有配置python环境，该怎么办呢？</p>
<p>这时候我们就需要将<code>.py</code>打包成<code>.exe</code>文件发送给ta，就算ta没有配置python环境也可以运行了文件了。</p>
<h4 id="需要的库-Pyinstaller"><a href="#需要的库-Pyinstaller" class="headerlink" title="需要的库 Pyinstaller"></a>需要的库 Pyinstaller</h4><blockquote>
<p>pip install Pyinstaller</p>
</blockquote>
<p>当然也可以换镜像源安装</p>
<blockquote>
<p>pip config set global.index-url <a target="_blank" rel="noopener" href="https://pypi.douban.com/simple">https://pypi.douban.com/simple</a> # 一键豆瓣源</p>
</blockquote>
<p>当然，也可以直接使用</p>
<blockquote>
<p>pip install -i <a target="_blank" rel="noopener" href="https://pypi.douban.com/simple/">https://pypi.douban.com/simple/</a> pyinstaller </p>
<p>pip install -i <a target="_blank" rel="noopener" href="https://pypi.tuna.tsinghua.edu.cn/simple">https://pypi.tuna.tsinghua.edu.cn/simple</a> pyinstaller </p>
</blockquote>
<h4 id="Pyinstaller-打包"><a href="#Pyinstaller-打包" class="headerlink" title="Pyinstaller 打包"></a>Pyinstaller 打包</h4><p>我们用蟒蛇书中经典的外星人入侵为例</p>
<p><img src="http://img.sc-xy.top/img/20220906111311.png" alt="image-20220906111311227"></p>
<h5 id="1-将当前目录在终端打开"><a href="#1-将当前目录在终端打开" class="headerlink" title="1. 将当前目录在终端打开"></a>1. 将当前目录在终端打开</h5><blockquote>
<p>cd C:\Users\XY\Desktop\python\chapter2</p>
</blockquote>
<h5 id="2-打包"><a href="#2-打包" class="headerlink" title="2. 打包"></a>2. 打包</h5><blockquote>
<p>pyinstaller -F -w alien_invasion.py</p>
<p>或者</p>
<p>pyinstaller -F -w -i (你想要的图标) alien_invasion.py</p>
</blockquote>
<p>参数解释 ：</p>
<p><code>-F</code> 打包成<code>.exe</code>文件</p>
<p><code>-w</code> 打包后执行文件不出现控制台</p>
<p><code>-i</code> 打包后设置指定图标位置（只能使用<code>.ico</code>文件）<a target="_blank" rel="noopener" href="https://app.xunjiepdf.com/img2icon/">推荐转换网站</a></p>
<p>执行过程比较漫长…</p>
<p>结束后我们会在当前目录中新生成的<code>dist</code>文件夹下找到<code>alien_invasion.exe</code></p>
<p><img src="http://img.sc-xy.top/img/20220906112210.png" alt="image-20220906112210125"></p>
<h5 id="3-配置文件"><a href="#3-配置文件" class="headerlink" title="3. 配置文件"></a>3. 配置文件</h5><p>自测运行时发现无法运行并出现这样的报错</p>
<p><img src="http://img.sc-xy.top/img/20220906112402.png" alt="image-20220906112402564"></p>
<p>我们需要将对应的的<code>images</code>文件夹复制到<code>dist</code>文件夹中，即可正常运行。</p>
<blockquote>
<p>这也说明了编程中使用相对路径的重要性。</p>
<p>至此，我们的python打包工作已经完成QWQ</p>
</blockquote>
<h3 id="虚拟环境创建"><a href="#虚拟环境创建" class="headerlink" title="虚拟环境创建"></a>虚拟环境创建</h3><h4 id="为什么要虚拟环境"><a href="#为什么要虚拟环境" class="headerlink" title="为什么要虚拟环境"></a>为什么要虚拟环境</h4><p>当你你有多个项目，他们同时依赖一个包，但是依赖的版本不同的时候，就可以用到虚拟环境，可以可以解决包版本冲突的问题，类似于conda。</p>
<p>同时，虚拟环境下打包出来的<code>.exe</code>往往更小（因为少了很多不必要的库）</p>
<h4 id="创建虚拟环境"><a href="#创建虚拟环境" class="headerlink" title="创建虚拟环境"></a>创建虚拟环境</h4><h5 id="导入包"><a href="#导入包" class="headerlink" title="导入包"></a>导入包</h5><blockquote>
<p>pip install virtualenv</p>
</blockquote>
<h5 id="创建环境"><a href="#创建环境" class="headerlink" title="创建环境"></a>创建环境</h5><blockquote>
<p>cd (你想要创建虚拟环境的目录)</p>
<p>virtualenv (你想要的虚拟环境名字)</p>
<p>virtualenv -p (你想要的python版本.exe) (你想要的虚拟环境名字)</p>
</blockquote>
<h5 id="激活环境"><a href="#激活环境" class="headerlink" title="激活环境"></a>激活环境</h5><blockquote>
<p>(虚拟环境的名字)\Scripts\activate</p>
</blockquote>
<h5 id="使用"><a href="#使用" class="headerlink" title="使用"></a>使用</h5><p>在虚拟环境中<code>pip</code>下载需要的python库并进行文件编辑即可</p>
<p><code>pip list</code>查看当前环境下载的库</p>
<h5 id="退出环境"><a href="#退出环境" class="headerlink" title="退出环境"></a>退出环境</h5><blockquote>
<p>deactivate</p>
</blockquote>
<h5 id="删除环境"><a href="#删除环境" class="headerlink" title="删除环境"></a>删除环境</h5><blockquote>
<p>rm (虚拟环境的名字) # 注意先退出虚拟环境</p>
</blockquote>
<p>你也可以直接手动删除该文件夹…</p>
<p>OK，现在你已经能够在虚拟环境下编辑项目并打包了QWQWQ</p>
</article><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/Python/">Python</a></div><div class="post_share"><div class="social-share" data-image="/img/python.jpeg" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/2022/11/07/Json+MySQL%E5%88%9D%E6%8E%A2/"><img class="prev-cover" src="/img/json.jpg" onerror="onerror=null;src='/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">Json文件读取（Java）</div></div></a></div><div class="next-post pull-right"><a href="/2022/08/27/%E5%9B%BE%E5%BA%8A%E9%98%B2%E7%81%AB/"><img class="next-cover" src="/img/tuchuang.webp" onerror="onerror=null;src='/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">在GitHub白嫖图床-后记</div></div></a></div></nav></div><div class="aside-content" id="aside-content"><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-3"><a class="toc-link" href="#Python%E6%89%93%E5%8C%85"><span class="toc-number">1.</span> <span class="toc-text">Python打包</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#%E4%BB%80%E4%B9%88%E5%8F%AB%E6%89%93%E5%8C%85%EF%BC%9F"><span class="toc-number">1.1.</span> <span class="toc-text">什么叫打包？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E9%9C%80%E8%A6%81%E7%9A%84%E5%BA%93-Pyinstaller"><span class="toc-number">1.2.</span> <span class="toc-text">需要的库 Pyinstaller</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Pyinstaller-%E6%89%93%E5%8C%85"><span class="toc-number">1.3.</span> <span class="toc-text">Pyinstaller 打包</span></a><ol class="toc-child"><li class="toc-item toc-level-5"><a class="toc-link" href="#1-%E5%B0%86%E5%BD%93%E5%89%8D%E7%9B%AE%E5%BD%95%E5%9C%A8%E7%BB%88%E7%AB%AF%E6%89%93%E5%BC%80"><span class="toc-number">1.3.1.</span> <span class="toc-text">1. 将当前目录在终端打开</span></a></li><li class="toc-item toc-level-5"><a class="toc-link" href="#2-%E6%89%93%E5%8C%85"><span class="toc-number">1.3.2.</span> <span class="toc-text">2. 打包</span></a></li><li class="toc-item toc-level-5"><a class="toc-link" href="#3-%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6"><span class="toc-number">1.3.3.</span> <span class="toc-text">3. 配置文件</span></a></li></ol></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E8%99%9A%E6%8B%9F%E7%8E%AF%E5%A2%83%E5%88%9B%E5%BB%BA"><span class="toc-number">2.</span> <span class="toc-text">虚拟环境创建</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E8%99%9A%E6%8B%9F%E7%8E%AF%E5%A2%83"><span class="toc-number">2.1.</span> <span class="toc-text">为什么要虚拟环境</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#%E5%88%9B%E5%BB%BA%E8%99%9A%E6%8B%9F%E7%8E%AF%E5%A2%83"><span class="toc-number">2.2.</span> <span class="toc-text">创建虚拟环境</span></a><ol class="toc-child"><li class="toc-item toc-level-5"><a class="toc-link" href="#%E5%AF%BC%E5%85%A5%E5%8C%85"><span class="toc-number">2.2.1.</span> <span class="toc-text">导入包</span></a></li><li class="toc-item toc-level-5"><a class="toc-link" href="#%E5%88%9B%E5%BB%BA%E7%8E%AF%E5%A2%83"><span class="toc-number">2.2.2.</span> <span class="toc-text">创建环境</span></a></li><li class="toc-item toc-level-5"><a class="toc-link" href="#%E6%BF%80%E6%B4%BB%E7%8E%AF%E5%A2%83"><span class="toc-number">2.2.3.</span> <span class="toc-text">激活环境</span></a></li><li class="toc-item toc-level-5"><a class="toc-link" href="#%E4%BD%BF%E7%94%A8"><span class="toc-number">2.2.4.</span> <span class="toc-text">使用</span></a></li><li class="toc-item toc-level-5"><a class="toc-link" href="#%E9%80%80%E5%87%BA%E7%8E%AF%E5%A2%83"><span class="toc-number">2.2.5.</span> <span class="toc-text">退出环境</span></a></li><li class="toc-item toc-level-5"><a class="toc-link" href="#%E5%88%A0%E9%99%A4%E7%8E%AF%E5%A2%83"><span class="toc-number">2.2.6.</span> <span class="toc-text">删除环境</span></a></li></ol></li></ol></li></ol></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2022 - 2023 By XY</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">Hi, welcome to my blog! <a target="_blank" rel="noopener" href="https://beian.miit.gov.cn"><img class="icp-icon" src="https://img.alicdn.com/tfs/TB1..50QpXXXXX7XpXXXXXXXXXX-40-40.png"><span>蜀ICP备2022030939号</span></a> <a href="https://icp.gov.moe/?keyword=20220702" target="_blank">萌ICP备20220702号</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="translateLink" type="button" title="简繁转换">简</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module"></script><div class="js-pjax"><script>(() => {
  const $mermaidWrap = document.querySelectorAll('#article-container .mermaid-wrap')
  if ($mermaidWrap.length) {
    window.runMermaid = () => {
      window.loadMermaid = true
      const theme = document.documentElement.getAttribute('data-theme') === 'dark' ? 'dark' : 'default'

      Array.from($mermaidWrap).forEach((item, index) => {
        const mermaidSrc = item.firstElementChild
        const mermaidThemeConfig = '%%{init:{ \'theme\':\'' + theme + '\'}}%%\n'
        const mermaidID = 'mermaid-' + index
        const mermaidDefinition = mermaidThemeConfig + mermaidSrc.textContent
        mermaid.mermaidAPI.render(mermaidID, mermaidDefinition, (svgCode) => {
          mermaidSrc.insertAdjacentHTML('afterend', svgCode)
        })
      })
    }

    const loadMermaid = () => {
      window.loadMermaid ? runMermaid() : getScript('https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js').then(runMermaid)
    }

    window.pjax ? loadMermaid() : document.addEventListener('DOMContentLoaded', loadMermaid)
  }
})()</script></div><script defer="defer" id="ribbon" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-ribbon.min.js" size="150" alpha="0.6" zIndex="-1" mobile="true" data-click="true"></script></div></body></html>